package com.wh.wisdomsite.xbox.st.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 仓库模块-库存表
 * @version V1.0
 * @author: 杨世强
 * @Package com.wh.wisdomsite.xbox.st.entity
 * @date 2018-12-24 11:54
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("st_store")
public class Store extends Model<Store> {
    /**
     * 库存ID
     */
    @TableId(type = IdType.UUID)
    private String stId;

    /**
     * 合同ID
     */
    @TableField("coId")
    private String coId;

    /**
     * 物料ID
     */
    @TableField("maId")
    private String maId;

    /**
     * 库存数量
     */
    @TableField("storeNum")
    private double storeNum;

    public String getStId() {
        return stId;
    }

    public void setStId(String stId) {
        this.stId = stId;
    }

    public String getCoId() {
        return coId;
    }

    public void setCoId(String coId) {
        this.coId = coId;
    }

    public String getMaId() {
        return maId;
    }

    public void setMaId(String maId) {
        this.maId = maId;
    }

    public double getStoreNum() {
        return storeNum;
    }

    public void setStoreNum(double storeNum) {
        this.storeNum = storeNum;
    }

    @Override
    protected Serializable pkVal() {
        return this.stId;
    }
}
